Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mentionutil: Add a mentions extractor #66

Conversation

tgallice
Copy link
Member

What does this PR do?

Add a mentions extractor method.

Not sure of the pertinence to put this here but voila.

What are the observable changes?

Good PR checklist

  • Title makes sense
  • Is against the correct branch
  • Only addresses one issue
  • Properly assigned
  • Added/updated tests
  • Added/updated documentation
  • Properly labeled

Additional Notes

@tgallice tgallice self-assigned this Sep 10, 2024
@tgallice tgallice requested a review from a team as a code owner September 10, 2024 14:49
@tgallice tgallice requested review from GaelLnz and DarkMiMolle and removed request for a team September 10, 2024 14:49
Copy link

linear bot commented Sep 10, 2024

Copy link

@GaelLnz GaelLnz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a nit, otherwise looks good

mentionnutil/extractor_test.go Outdated Show resolved Hide resolved
@tgallice tgallice force-pushed the thomasgallice/lib-64-update-amplification-process-by-using-mentions branch from b935b98 to 022c5c6 Compare September 10, 2024 15:15
@tgallice tgallice requested review from xgoffin and GaelLnz September 10, 2024 15:16
},
{
name: "youtube url",
input: "foo bar @buz. https://www.youtube.com/@SalonViking test",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The bad thing of this it's this catch also handle from tiktok or instagram urls but we didn't know at the end at which social media it's linked. This could lead to some confusion. Maybe must be more restrictive ?

@tgallice tgallice closed this Sep 10, 2024
@tgallice tgallice deleted the thomasgallice/lib-64-update-amplification-process-by-using-mentions branch September 10, 2024 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants